w3schools javascript comments code example Example: comment in javascript // single line comment /* multiline comemnt line 2 line 3 line 4 */