+ Start a Discussion
Mike ShawalukMike Shawaluk 

"Official" way to include non-displaying comments in s-control code


I'm developing a number of s-controls that use the AJAX toolkit, and our development practices dictate that we comment our code. Currently I am using standard JavaScript comments, but those appear in "View Source", and they increase the load time of the page. Is there a way to include a "hidden" comment (i.e. one that is in the s-control source, but won't appear on the deployed page)? I've searched the help files and can't find a reference to this ability.

If this ability doesn't currently exist, something like {!Comment blah blah blah} would seem to be a logical way to handle this, and would be a great extension in a future release.

- Mike