Comment Here is an Xcode Source Editor extension that inserts "//" just before the beginning of codes not at the beginning of lines. First, you need to enable the extension in System Preferences > Extensions > Xcode Source Editor. After restarting Xcode, you can see a 'Comment Here' icon in Xcode Menu > Editor.