http://www.w3schools.com/js/js_comments.asp JavaScript Comments« PreviousNext Chapter »JavaScript comments can be used to explain JavaScript code, and to make it more readable.JavaScript comments can also be used to prevent execution, when testing alternative code.Single Line CommentsSingle line comments start with //.Any text between // and the end of the line, will be ignored by JavaScript (wi..