Take a screenshot of the display. Then view the screenshot making sure to move the picture down a bit to see if you see the line in the screenshot as well (you don't want to have it overlapping with the actual line that is always there). Or view the screenshot on an external display or another device. If the line is not visible in the screenshot, then it means you have a hardware issue with the laptop's built-in Display which will need to be replaced by Apple or an Apple Authorized Service Provider.
I suspect the LCD Panel is bad and will need to have the Display Assembly replaced. Should be covered by warranty as long as there are no signs of accidental damage.