It will be irrelevant to comment out dpi=auto because the second dpi=240 setting will override the first setting of dpi=auto. This is how sys.txt settings are handled.