Codes after a double slash //, or between /* and */, is treated as a comment.
Single Line Comments
Single Line Comments use double dashes.
The example uses a single line comment is as follows:
X=20; // Here, x is declared and assign a value of 20
The example uses a multi-line comment is as follows:
/* Here variable x assigns a value of 20 And further variable y is calculated by adding value 5 to a variable x. */ x = 20; y = x+5;