comparable: able to be compared (ie having features in common), or worthy of comparison

The samples from the 2 locations were comparable because they were extracted using the same method.
Her intelligence is comparable to that of Einstein.

similar: resembling

The samples from the 2 locations gave similar results following analysis.

If two things closely resemble each other, it is preferable and less ambiguous to describe them as similar, rather than comparable.