c# comment line code example Example: comment in c# // This is a single line comment in C#. /* This is a multi line comment in C# */