First check this Autodesk Knowledge Base Article
Hidden lines do not print to PDF as seen on screen in Revit (autodesk.com)
There maybe a couple of contributing factor from the model which may need investigating.
Do you have Model Lines or Annotation Lines which are causing the issue?
Model Lines:
Check that they are not in a surface plane or just beneath. The surface can hide the line when exporting while keeping the visible on screen (it is a frequent bug that lines appear through a surface while being behind it in reality)
If this is not the case, just transform them into symbolic lines (or copy/paste and transform in your view), they will appear in front of any geometry whatsoever.
Here is the tool:

Then also make sure you don't check the box below"

There are a couple of resolved solutions.
Jay Colcombe
Autodesk Certified Instructor
Revit Architecture & Structure Certified Professional
AutoCAD Certified Professional
B.Sc. Hons Civil & Structural Engineering
If you find my post interesting, feel free to give a Kudo.
If it solves your problem, please click Accept to enhance the Forum.