Commenting and uncommenting lines of code

To toggle line comments (// comment) in the Java editor: To insert a block comment (/*comment*/) in the Java editor: To remove a block comment (/*comment*/) in the Java editor:

Related concepts
Java editor

Related tasks
Using the Java editor

Related reference
Source menu