View > Extras
It's just a guide line pulled down (or across) from the ruler.
You got the non-printing guide by dragging from the Ruler.
Other ways to get rid of it if you have just done it (as you have) include:
Drag it back into the Ruler with the Move tool