Skip to main content

Comments

Comments in Fig are used to add explanatory notes or documentation to the code. There are two types of comments:

Single-line Comments

Single-line comments begin with // and extend to the end of the line.

// This is a single-line comment