I\'m writing ANSI-compatible C code, and hence I can\'t use the line (//) comment. I\'m using Xcode. In Sublime Text and Eclipse, and I think most other IDEs, t
//
In XCode 10 (and up) use Option + Command + Slash (that is ⌥ + ⌘ + /)
to write a beautiful comment for your function or class like below: