If they are visible when the display is on, they are not dead pixels. This sounds like a video card issue. Call apple, and they should replace the video card if the computer is in warranty.
If the lines aren't showing up in a screen capture, then the problem is most likely with the display itself. Not dead pixels, but probably either a bad or broken connection, or even an issue with the video card. Best to call Apple.