It's been 50 years since the US did a non-underground test. What do you think we use all these supercomputers for? Nuclear testing.
This was done specifically because they realized they would collectively make the planet uninhabitable if they continued.
underground. [1] [2]