In the 3D Sketch Line command, you can snap points to a plane. The selected points are not constrained to the plane.
With the line command active, right-click and select Align to Plane then select the desired plane.
For More Information
Viewing Details: