If the double-slash is preceeding it, no. It's commented out, the browser does not parse it.
If you need to set it so that it triggers on a button click or link click, place that inside a function and call the function using onclick="" attribute. But, then, that brings us back to the "Firstly" comment. document.write and document.writeln both will rewrite the whole page if executed after the page loads.
If anyone knows of a website that can offer ColdFusion help that isn't controlled by neurotic, pedantic jerks* (stackoverflow.com), please PM me with a link.
* The neurotic, pedantic jerks are not the owners; just the people who are in control of the "popularity contest".
Last edited by WolfShade; 03-08-2013 at 04:10 PM..