The LM358 has special input transistors which can withstand up to 32V in the reverse direction. The common mode range isn't anything special, from just a little below the negative supply to the positive supply minus 1.5V. The LM324 is the same, but includes four op-amps, in the package.
Most BJTs are damaged if the base-emitter junction is reverse biased at more than 6V. A lot of op-amps have back-to-back diodes between the inputs. The NE5532 is a classic example.
Comparators such as the LM393 and LM339 also have inputs which can withstand the full power supply votlage rating, irrespective of the actual supply voltage.