There are 3 different types of comments in c#.
(A) Single Line Comments
Ex.. // use for single line comments in C#.
(B) Multi Line Comments
Ex. /* use multi line comments in c#*/
(C) XML tags Comments
Ex. /// use to specify the XML comments in c#
Note - we can use Ctrl+K, Ctrl+C and Ctrl+K, Ctrl+U to Comment or Uncomment selected lines in C#.