Typically you'd use a separate terminal block to join the neutrals. However, at least one manufacturer provides a neutral loop terminal on the switch itself, as noted here.
For the earth, with a metal plate switch you'd use the earth terminal on the switch itself to join them together, with a...