IANAL, but I'd say they can't sell the comments - they're copyrighted, and since they don't ask for an explicit license, the implied one is probably limited to displaying them on the site - but they could sell the votes/flags/karma information.
YC has little (to nothing) to gain by selling HN info, but everything to lose.