Posting on X, the Harry Potter author wrote: 'I've signed. This is an unethical experiment on children who can't give meaningful consent.'