It would be like an arc welder. Whatever caused the arc would have burned first.
But would it damage the transformer so that it wouldn’t function?