> For the complete documentation index, see [llms.txt](https://v-vishwanath.gitbook.io/kiraak/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://v-vishwanath.gitbook.io/kiraak/fundamentals/comments.md).

# Comments

Koi code ko agar “commented'' bole toh iska matlab ye hai ki computer isko ignore kar deta, yaani code ko nai chalata. Toh jyaadatar comments ka use code ko explain karna, ya kisi code ko run hone se rokne ke waastey hai.

Apne kiraak me code ich sab explain kardeta toh comments ka tension ich nai hai. Par phir bhi use karna samjhe, ya kisi code ko run hone se rokne ka hai toh iska istemaal kar sakte.&#x20;

Kiraak me bhi dono, single aur multi line comments aate hai:

### Single line / Line comment

Agar kisi line ko `=>` se shuru kare toh vo pura line ko computer ignore kar deta. Jo line aise commented hai, woh purey line me koi bhi code likhe toh nai chalta.

### Multi line / Block comment

Multi line comment me comment ko `==>` se shuru karke `<==` se bandh karte hai. Iske beech me jo bhi hai sab ignore ho jaata. Ab `<==` ke baad jo bhi likhte hai vo sab computer chala deta, chahe woh usi line me ho ya dusre line me, sab chal jaate.

```
=> Ye pura line me kuch bhi likhe toh nai chalta
screen pe “Ye chal jaayega!” dikha

==> Idhar se leke bhi pura comment ich nai. 
Ab doosra line bhi comment ka ich hissa hai <== screen pe “Ye bhi chal jaayega” dikha

screen pe “Ye toh chalega hi!” dikha

```
