answersLogoWhite

0

There are two ways:

The single line comment with a double slash //. Everything after the double slash on a single line is commented out.

The multi-line comment using a /* to open, and a */ to close.

A good IDE will color code the comments instantly.

User Avatar

Wiki User

14y ago

What else can I help you with?