=

Comments

Comments are used to explain the code, and to make it more readable. The code written in the comment doesn't get executed. There are 2 common types of comments -

  1. Single line comment
  2. Multi line comment

1. Single line comment :

Single line comments are used to comment out the code of a single line. The code written after the comment symbol considered as a comment.
Some symbols that are used in single line comment - # //


2. Multi line comment :

Single line comments are used to comment out the code of multiple lines. The code written between the comment symbols considered as a comment
Some symbols that are used in multi line comment - /*comment*/ """comment"""