Android Studio
Comment code with a block comment
Press Ctrl + Shift + Slash to comment code with a block comment in Android Studio. On a Mac, press Cmd + Shift + Slash instead.
Where it works: Editor
Every documented variant
| System | Environment | Keys |
|---|---|---|
| Mac | Desktop app | CmdShift/ |
| Windows | Desktop app | CtrlShift/ |
Where this comes from
Keyboard shortcuts - Android Studio - Android Developers
Documentation checked on 2026-09-14. That is a documentation review, not a test run inside the application.