Yes, a solitary M0 should be good for "program hold" for eternity
If you are thinking of a timed dwell, that would usually be a G04 plus a number in, perhaps, milliseconds of dwell. You would only use this for your purposes if you're playing "Russian tool change" with your cnc buddies.