What is a comet's chemical composition?

Not much different. Stony metorites contain the same minerals as continental crust.

Iron-nickel meteorites, such as the one that created Meteor Crater, near Flagstaff, Arizona, more closely resemble the composition of the Earth's solid core.