Question: can 24 volts shock you?
Answer: 24 volts will not drive a high enough current through you to be fatal ....... a few hundred μA only in normal circumstances perhaps. 24V can be fatal, but you have to be both wet and very unlucky indeed.