Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple Line comment in .ini file

Tags:

comments

ini

I am looking for a way to comment on multiple lines in .ini file.

For single-line comments, we use ; or # in the .ini file. But how to comment on multiple lines in one go?

Like in python we use

'''Anything 
in between this 
is considered as 
comment'''

and c++ we use

/* Anything 
in between this 
is considered as 
comment */
like image 613
Mukul Kumar Avatar asked Oct 27 '25 14:10

Mukul Kumar


1 Answers

Comment blocks don't exist for .ini files, you will have to put a ';' or '#' for each line

like image 198
Teroaz Avatar answered Oct 29 '25 16:10

Teroaz



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!