Embarrassingly, I have managed to shock myself several times during my life on 240V mains. Once quite recently while working on a light fitting at a friend's flat and not realising that someone had flipped the circuit back on at the circuit breaker!
That shock was certainly quite unpleasant, but despite touching my sweaty skin against live wires, it seems to have been far from fatal.
Surely the dangerous situations are live-to-earth shocks, which could potentially run across your whole body (rather than just a hand or finger, as in my case). But that's why we have RCD/GFCI protection, right? Those will trip with tiny fault currents, certainly much less than 300 mA.
Secondly, aren't "Type B" RCDs required on solar inverters? Those will detect and trip on DC fault currents as low as 30 mA, not 300!