Eclipse IDE
Toggle a line comment
In Eclipse IDE, Ctrl + Slash will toggle a line comment. It is listed for Windows, and no Mac version is documented here.
Where it works: Java editor
Where this comes from
List of Key Bindings - Eclipse help
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.