Allocate comment temporaries on the heap.