Steve,

Initally, it may be misleading to the next Electrician in to service transformer. I don't think a code violation would exist if you left the neutal connected.