STEP 1: When editing a post or page, ensure that the ‘Discussion’ panel (near bottom) is visible. If you can’t see it, then click ‘Screen Options’ (top right) and check ‘Discussion’
STEP 2: On the ‘Discussion’ panel, uncheck ‘allow comments’, and save/publish/update. This will prevent comments for that page or post.