AFAIK, there is no such law.
Apparently, there is some sort of "self regulating body" (don't know their exact name) in QLD that sets out "guidelines". These include: Always wear a snorkle, back on the boat with 50 bar, signing a dive sheet when exiting the water, no diving deeper than 30m...