How did you create the file?
It seems like you have inconsistent line endings.
Try going into Tools->Options->Documents.
The option to check for consistent line endings should be checked.
If it's checked, try inserting a line, save the file, then close and reopen it.
This should cause VS to enforce consistent line endings.