JavaScript
Comment type:Line
Comment syntax:// comment
Snippet:
<script type="text/javascript">

<!--
document.write("Single line comments!"); // this is a comment
//document.write("This is commented out");
//-->
</script>

JavaScript
Comment type:Block
Comment syntax:/* comment */
Snippet:
<script type="text/javascript">

<!--
document.write("Multi-line comments!");
/*document.write("This is commented out");
document.write("So is this...");*/
//-->
</script>