Why add resistor on comparator input?
Here is the schematic of op Amp LM393.

You see the internal diodes on input stage. You have to use external resistors in series to the input for limiting the internal diode currents. Otherwise your accuracy will decrease.