When a comment is at the end of code, it is not greyed out.
This is fine.
' Same as WScript.echo myEcho
sub wEcho( myEcho )
WScript.echo myEcho
End Sub
This will not work. The VB.net parser here shows it is valid code.
sub wEcho( myEcho ) ' Same as WScript.echo myEcho
WScript.echo myEcho
End Sub