(a) No person shall allow any animal over which he has custody or control to remain on his property or premises if it shall constitute a nuisance. (b) In county zoning districts except AG, agriculture, it shall be unlawful for any person to keep or maintain any pen or enclosure for any animal within 25 feet of any property line. This subsection is intended to apply to kennels, pens and other enclosures. (c) Fences or walls around the perimeter of the property are exempt from the 25-foot setback described in subsection (b) of this section.