I did some tests (never used the # to comment lines before) but it's working fine over here (ZS 9.04). Using // and /* ... */ has never been a problem in any setup here.
It might help if you could add some more details. Which debug module are you using?
Lead Developer and CTO
If your problem has been resolved or if you've found your own solution, please let us know! Adding that final post will greatly increase the quality of the information you find here and will help many other users.