These are commonly used interchangeably, and the distinction between them is a small one. "Comparison to" should be used when comparison is made between specific people, things, or other instances....
in comparison to
comparison mean not being fair if you use a sentence this how it sound like the comparison between Joseph and jack quite and unfair
to compare something to another thing
Comparison is setting one thing alongside another to look for similarities, differences and relative sizes or other properties.