Block Commenting Select a block of code in one of the editors. Press Command / That bit of code will be commented. This works for any code box or language you happen to be in: