In general AC tends to be a little safer than DC, because the voltage is constantly reversing, which means it’s constantly passing through 0V, creating moments where you don’t have current driving through your body and forcing all your muscles to contract. Those 0V crossings create moments where you can let go of whatever is electrocuting you. DC on the other hand has no such 0 crossings, if there’s enough voltage there to drive current through you, then all your muscles will be stuck contracting until either the power is turned off, or until they’re all so fried they’re not physically capable of contracting anymore.