Fix //-style comments on Windows

Don't match \n, but match \r?\n, so we can match Windows-style endlines \r\n.
Would be great if you could test this on Linux before merging (I only use Windows)