Left click on a line.
Click on the ‘i’ in the dialogue that opens. and a second dialogue opens.
That dialogue lets you select the line type – Wall, Dimension, Line, Fence, etc. Select Line.
Then you get another drop down to the right with various types of lines including dotted.
Paul