Comments in ActionScript

Notes:

Comments in ActionScript Programming Language:
- Comments are something like notes in the code.

Comments are used to explain code logic,
so that we can be able to understand the code later
as well as
other developers can be able to read and understand the code easily.

Comments are used to increase the readability and understand ability of the source code.

Comments are used to document the source code. (Documentation)

Note:
Comments are ignored by the Action Script compiler /system.
Comments do not affect the execution of a program.

Types of comments in Action Script:
There are 2 types of comments in Action Script
Single line comment (// comment goes here)
Multiline comment (/* comment goes here */)

Single line comment: anything written after // is treated as a comment
Multiline comment: anything written in between /* and */ is treated as a comment

Note: If we don’t want to execute some part(s) of the code, we can comment them so that they can be ignored by the compiler / system.