if you have someone outside of the ?> in your script, then you have to use traditional commenting <!-- and --> to comment out that text.
Rememeber that if you do use that, it will still be in the source that a person can view. A better way would be to start another PHP block and then use the // comment, or the / and / if its on more than one line, like in your example.
Good luck!
Robert