JavaScript Comments
Comments are used in segments of script to explain what the script does. You should use comments whenever the script is more than a single statement. A comment line begins with two 'forward slashes'. The comment ends at the end of the line.
<SCRIPT LANGUAGE = "JavaScript">
// This is a comment line.
<form NAME="test">
<p><input TYPE="button" VALUE="Click here to close the Sub
Window"
onClick="window.close();"> </p>
</form>