After the player attains more than one chocolate bar, the text will change: "You have 2 chocolate bars \o/ (a bug ? Oo)"
On Candy Box 2
Chocolate bars can be used to enchant items. You can turn them to pains au chocolat by visiting the big room at the castle for 1 chocolate bar and 100 candies.