There's no filtering mechanism in place for this at the moment, which skips certain entities based on meta-data in the entity.
Is this code which is in an include template, in a template which generates code for all entities into a single file or in a template which per entity generates a separate file?