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
//
Seems like already a lot of people answers this question.
in Swift 3.0, single line comment is to put double forward slashes upfront : "//" ; multiline is put "/* .... */".
Hope this helps.