A keyboard shortcut to comment/uncomment the select text in Android Studio
To comment/uncomment one line, use: Ctrl + /.
To comment/uncomment a block, use: Ctrl + Shift + /.
MAC QWERTY (US- keyboard layout) without numpad:
Line comment : ⌘ + /
Block comment: ⌘ + ⌥ + /
MAC QWERTZ (e.g. German keyboard layout):
Android Studio Version ≥ 3.2:
Line comment : ⌘ + Numpad /
Block comment: ⌘ + ⌥ + Numpad /
thx @Manuel
Android Studio Version ≤ 3.0:
Line comment : ⌘ + -
Block comment: ⌘ + Shift + -