From Xojo Documentation
A Line control draws a line that can be of any length, width, color, and direction. By default, lines are 100 pixels in length, 1 pixel in width, black, and diagonal. You typically only use a line to customize the way your layout looks.
You might want to make a line invisible if it is not needed: