if (condition) DoSometing(); // comment
When the caret is before DoSomething() and you press "{" the closing "}" is inserted inside the comment.