You shouldn't really use op-amps as comparators, I know many people do. The reason is op-amps are designed to work with feedback to control their very high gain. Without this they can oscillate due to stray capacitances on the PCB. Also most op-amps apart from over the top types can't handle...