This discussion is pointless. It’s never been a bug in QB4.5 to treat both comment styles differently and it is proper that we keep compatible with what QB4.5 did, that case included.
[ This attachment cannot be displayed inline in 'Print Page' view ]
Just as reference, here’s REM in Visual Basic, also working in the exact same way we have implemented, *including the coloring*:
https://docs.microsoft.com/en-us/dotnet/visual-basic/language-reference/statements/rem-statement
And here’s an alternative page talking about the command - even fixing MS’s incorrect example of REM without a separating colon:
https://www.oreilly.com/library/view/vbnet-language-in/0596003080/re279.html
If you use the Rem statement on the same line as program code, a colon is required after the program code and before the Rem statement. For example:
Set objDoc = MyApp.MyObj : Rem Define the object
Rem reference
This is not necessary when using the much more common apostrophe:
Set objDoc = MyApp.MyObj ' Define the object reference