generate comments to document function parameters