Tsar bomba should be the limit.
Anything bigger than that should require a note from your doctor.
Kind of arbitrary, don't you think?
Just because a large portion of the explosive force occurs
above the atmoshere, (due to the sheer enormity on the blast)
that does not mean that such a device might not be useful to someone...