There does seem to be a colour highlighting issue if #rem is on the first line of the program which I have logged. Insert a blank line at the top of the program to see if that reolves the issue.
That's seem to have fixed it.
I have 6.0.6.2 running on another machine that I have not gotten around to updating and its seems to be fine with #rem on the first line.