Is there a shortcut to make a block comment in Xcode? October 21, 2022 by Tarik Try command + /. So, you just highlight the block of code you want to comment out and press those two keys.