Because a school setting doesn't contribute anything. Gintama and Mahoujin Guru Guru for example aren't any less funny because they aren't stuck in school I'd even say they are better for it since it allows a much broader scope for their comedy to cover. Gintama in particular here.