I want to avoid comments in pages but allow them only

Hi,

I want to avoid comments in pages but allow them only in posts. If I go in Settings -> Discussions and set to avoid comments, it will avoid also in posts.

I do not want to uncheck the box manually in Screen Options -> Discussion for each page.

How to automatically avoid comments only for pages?

Thanks.