Unless it is a wooden decorative top why would you paint it?
All the tops here are migratory lids and have galv tin coverings which I paint white to reflect the heat. I expect them to outlast the boxes.