The general rules of evaluation are that all php code is evaluated. Code within an html comment will generate part of that comment, which will, naturally, be commented out. That is how you can make specific comments like the ones at the bottom of your scripts that zenphot generates giving the version, etc.