The combustion of sugar shouldn’t produce anything of much greater toxicity than a regular candle. However, it will burn much hotter than regular wax.