This answer claims that humans are immune to Pokemon attacks.
I believe within Pokémon canon Pokémon powers are simply ineffective against humans, so trainers need no special resistance.
Yet I'm pretty sure that in the TV show, the games, and (especially) Detective Pokemon, humans have born the brunt of Pokemon attacks.
According to canon, are humans officially immune to Pokemon attacks? There may well be exceptions (say, a super-powerful Pokemon, or some other way), but has canon ever explicitly addressed this issue?
What I'm not looking for: Examples of humans being attacked by Pokemon and either taking damage or surviving. There are examples either way, but generally humans are not attacked or damaged by Pokemon, and an exception does not explain the general rule.
What I am looking for: a quote from the games, tv show, or any other canon explicitly addressing if or whether humans are immune to Pokemon attacks, or some other quote addressing why Pokemon do or do not attack humans.