How can I edit the Twenty Ten Theme to remove the comments box when a page uses a specific template?

You can turn off the discussion per post/page when you’re creating new posts/pages. this option is usually below the text editor and is often hidden. In order to bring it up, you might have to click on “Screen Options” at the top of the page and check the box next to “Discussion”