Is it safe to compost maple leaves with black spots?
Certified GKH Gardening Expert
It really depends on whether this is insect damage, or a fungal/bacterial problem. If it is an infection as mentioned before, then it would not be wise to compost them. If it is, simply, insect damage then you will be ok to compost them.
Here is a link with more information: https://www.gardeningknowhow.com/composting/ingredients/compost-diseased-plant-leaves.htm