Not export layers which we dont want to?

hi all, I wonder how to export a movie without a layer which we dont want to include with movie ? however I dont want to delete that layer!

my way it that I delete thay layer, then I export, then I Crt + Z to restore that layer, :-))))) if my file have many layers, how can I do it ? please tell me,thanks.