I say this because sunspots are known to be magnetic phenomena. They are, in fact, the places on the photosphere where large magnetic field lines have protruded from the Sun's surface. Their cause lies within the Sun, not without. It is unlikely that magnetically-neutral comets have much effect on sunspots. I ask, because both Jupiter's orbit and the sunspot cycle have approximately an 11-year period.
Tides are a gravitational phenomenon.
Sunspots are believed to be magnetic. This type of wobbling is what allows astronomers to detect possible large planets circling nearby stars. There have been suggestions that the wobble of the Sun due to the planets may be tied to the solar cycle. I found that the planets seem to be most aligned at the periods of maximum solar activity. The SOHO team has not been studying the relationship of the position of the planets to solar activity.