A well designed meter will survive mains voltage on any setting, perhaps with a blown fuse, but no other harm done.
My first Fluke, a model 16 (a very basic and now obsolete meter intended for HVAC technicians) will not only survive, but if it's in ohms, continuity or diode check mode, it will automatically switch to lo-Z voltage mode and display the measured voltage. It does this any time it senses a voltage greater than about 4.5V. It will also automatically figure out whether the voltage is AC or DC.
In fact, that's the only way to access the Lo-Z voltage mode on that meter. Put it in ohms (or continuity or diode check) mode and connect the probes to a voltage.
There are some other more modern Flukes that have a similar feature, but it's found mostly on the "service tech" line of meters, and not the high precision meters for electronics work. The Fluke 113 takes it to an extreme, with no dedicated ACV or DCV setting, but a single setting that does ACV, DCV, continuity, and diode check, depending on what it senses at its terminals. That meter is designed for utility workers, and it looks to me like the chief design goals were ruggedness and idiot-proofing for the kinds of measurements a utility worker needs to do.