Here are the few shortcuts to comment code, which works great on Windows.
- Ctrl-/ to add or remove // for a single line of code, or for multiple selected lines
- Ctrl-/ to add/remove // for a single line of code, or for multiple selected lines
- Ctrl-shift-/ to add /* */ around selected code
The Mac alternative of the Ctrl-/ is Command-/
What is the Mac alternative of the Ctrl-shift-/ for Mac?
Related Question: Finding Shortcuts in Aptana Studio 3.0 to Comment Code