Multi-Line Comment (मल्टी-लाइन कमेंट) :-
जब किसी Comment को एक से अधिक Lines (पंक्तियों) में लिखना हो, तो उसे Multi-Line Comment कहा जाता है।
Python में Multi-Line Comment लिखने के लिए सामान्यतः Triple Quotes (''' या """) का उपयोग किया जाता है।
इनका उपयोग विशेष रूप से Documentation (दस्तावेज़ीकरण), बड़े Description (विवरण) तथा Docstring (डॉकस्ट्रिंग) लिखने के लिए किया जाता है।
नोट: वास्तव में Triple Quotes Python में String (स्ट्रिंग) बनाते हैं, लेकिन जब इन्हें किसी Variable में Store नहीं किया जाता, तो इन्हें Documentation या Multi-Line Comment की तरह उपयोग किया जाता है।
English
A Multi-Line Comment is used when a comment spans multiple lines.
Python commonly uses Triple Quotes (''' or """) for writing multi-line comments or documentation.
They are mainly used for documentation and docstrings.
Note: Triple quotes actually create a string. When the string is not assigned to a variable, it is commonly used as a multi-line comment or documentation.
Example -