In PHP, like with most all other languages, comments are not processed. However, I put a ?> in a comment starting with // (haven’t tried the # or /…/ types) and it made the syntax hilighing stop even though technically PHP is still being parsed, since the ?> is in a comment and as such is not parsed. I believe this is a bug?