This likely has to do with line endings. Either it was made on a system using LF as line ends (something Linux/Unix based, windows used CRLF), or you're running the latest, buggy version of notepad on the windows 10 October update which supposedly works with LFs but sometimes bugs out with CRLFs :D
Try opening it in a different text editor, it'll probably look better.