If I have a line like this: ``` php <?php echo "XXX"; ?><span>»</span><?php echo 'XXX'; ?> ``` php-mode treats the # as a PHP comment and highlights the rest of the line in red. So it seems that it doesn't know that it's not in a PHP block