Can a candy cane burn?

I personally have never tried to burn a candy cane, but I would imagine it would burn since sugar burns very well. A quick search on YouTube turned up this video of a person burning a candy cane with a torch.