As others have already said this is because syntax highlighting parses # compiler parser.
You can use it the other way around and comment a multiline command with a single * in front of the first line only...
from table;
into cursor result
In VFP9 all lines are highlighted green, in VFP7 only the first but still this is interpreted as a comment only.
I assume the compiler first will remove any ;+whitespace+crlf and handle only unconcatenated lines while the syntax highlighter parses lines as they are.
Bye, Olaf.