Code comments are parts of code that the ActionScript compiler ignores. A comment lines explains what your code is doing, or temporarily deactivates code that you don’t want to delete. Comment a line of code by beginning it with a double slash (//). The compiler ignores all text on that line after the double slash. You can also comment larger blocks of code by placing a slash and asterisk (/*) at the beginning of the block and an asterisk and slash (*/) at the end of the block.
You can type these comment markers manually, or you can use buttons at the top of the Actions panel or Script window to add them.
Comment a line of code
at
the top of the Actions panel or Script window.
A double slash (//) is placed at the insertion point.
Comment multiple lines of code
at
the top of the Actions panel or Script window.
Block comment characters are placed at the beginning (/*) and end (*/) of the selection.
Remove a comment