একাধিক লাইনে ছড়িয়ে থাকা কমেন্টকে মাল্টি-লাইন কমেন্ট বলা হয়:
/* The following is a multi-line Comment In C# */
/*...*/ কম্পাইলার দ্বারা উপেক্ষা করা হয় এবং এটি প্রোগ্রামে কমেন্ট যোগ করার জন্য ব্যবহৃত হয়।
উদাহরণ
using System;
namespace Demo {
class Program {
static void Main(string[] args) {
/* The following is a multi-line
Comment In C# */
// printing
Console.WriteLine("Hello World");
Console.ReadKey();
}
}
}