There is no need to edit the file. In fact in most cases you should not
do that.
You can add that line by making a file ltxdoc.cfg.