Download

Commenting out lines in .ini files

Pretty basic question I guess… but can someone tell me what character to use to comment out lines in e.g. the DefaultEngine.ini file?

So if I want to skip the second line in:


[/Script/Engine.RendererSettings]
r.DefaultFeature.AmbientOcclusion=True

do I make it


[/Script/Engine.RendererSettings]
#r.DefaultFeature.AmbientOcclusion=True

or


[/Script/Engine.RendererSettings]
//r.DefaultFeature.AmbientOcclusion=True

or something else?

…it would be great if I can comment out so I can properly document changes and have less need to make backups after each change…

Thanks!!
Warner

It looks like the correct way to add comments in ini files is


; blah

That works, thanks!

Quoting from the Official Documentation:

https://docs.unrealengine.com/en-US/…igurationFiles

Unfortunately they don’t expand on that train of thought so who knows what are actually comments. Thanks Epic! lol