On my last trip to the US, the customs officer asked me if I had any food. I said "chocolate" and he said "Don't worry about that; any perishable food?" so obviously he didn't care.
I quite frequently bring big bars of chocolate to my mother and sisters who live over there.
You'll be fine bringing chocolate, either through hold luggage or hand luggage.