Lines are saved as polyline overlays on the background, using the coordinate system you set. Use them for train lines, roads or borders. Points snap to nearby markers, so a line can run through stations.
This map has multiple backgrounds. Their overlays are kept in the JSON but can't be edited here.