A comment is basically a line of text or code that your browser ignores while running. You can compare comments to sticky notes or reminder.
Var name = "Sherlock Holmes"; // This is a string Var occupation = "Detective"; // This variable stores information Var age = 14; // This is an integer type of data.
How do you make multiline comments? You mention the comment in the following manner:
/* This is a multiline comment. The browser will ignore this. You can type any important information on your comment. */
Your multiline comment should be between
*/, as shown in the following screenshot: