Try the following thing:
// This is a test \ printf(a);
This compiles OK - We have escaped both newlines. However, the third line is NOT colored as preprocessor macro - when in comment, the editor doesn't parse the escape character and thinks the macro ends with the comment.