Basics: Comments

// This is a comment
/* This is also a comment
but is written over multiple lines. */

Additional information

  • To include nonexecutable text in your code, as a note or reminder to yourself.
  • Single-line comments begin with two forward-slashes (//).
  • Multiline comments start with a forward-slash followed by an asterisk (/*) and end with an asterisk followed by a forward-slash (*/).

Basics: Comments — Structure map

Clickable & Draggable!

Basics: Comments — Related pages: