Dented top tube isn’t a good thing you know how a empty coke can can support you whole body weight then crush it a little and it collapses… Steel.bikes can have very thin walls away from the lugs and thicker at the lug connections… or it could be made from heavy guage steam pipe
It will most likely be ok… But dented.tube is never a good thing… I work and weld.tubes every day….