generator: properly close comment

Signed-off-by: David Scott <dave.scott@citrix.com>