This is working as intended. Once you start looking at more complex escape sequences, let alone regular expressions, this quickly becomes a bit tricky.
Are you aware of literal strings in C#? You can replace this line with the code:
Console.WriteLine(@"This is a test
Should this line break be coloured?
As it would be a lot easier to read");
which makes it a lot easier to read and edit, and is still valid code.