Exclude pagination pages from Sitemap automatically

I have a lot of pagination URLs which will keep on increasing, currently to exclude those from Sitemap I have to add those manually.
Is there a way for that to be added automatically?