Final answer:
A comet with a highly eccentric orbit spends most of its time near its aphelion, the farthest point from the Sun, due to Kepler's second law which dictates its slower speed at greater distances from the Sun.
Step-by-step explanation:
A comet in a highly eccentric orbit spends most of its time near the farthest point from the Sun, known as the aphelion. According to Kepler's second law of planetary motion, a comet will travel much faster when it is near the Sun (at perihelion) and much slower when it is at the edge of the solar system (at aphelion), because it sweeps out equal areas in equal amounts of time. Therefore, it spends more time in the portion of its orbit where it moves slower, which is near its aphelion.