Summary: In your project's sketch scene, click "Edges" on the upper toolbar. Select by clicking your desired line label and sub-line label from the drawer on the right side of of the screen. Then apply the label by clicking the target lines of the diagram.
Watch the video below to see the process:
Note: A recent update now allows line labels to be applied as lines are drawn. Learn more here.