There are some basic things to know about comps:
1. They must be newer books. That means pubbed in 2017 or later.
2. They need to be by authors for whom the book was a debut or Book #2.
Comparing yourself as a debut to #17 in a series isn't effective.
Here are several other tips:
1. It's ok to compare your book to one on the agent's list. This can lead to some pretty hilarious problems if you haven't read the books. The only person who knows my list better than I do are the writers of the books themselves. I'll know if you fuck up.
2. You don't need an exact match for time period. Yes you can compare your historical fantasy set in the Ottoman Empire to historical fantasy set in the British Raj.
3. You need to stay in your own lane. Don't comp your middle grade novel to anything adult.
Don't comp your narrative to a graphic novel.
The purpose of comps is to give us an idea of where the book goes on the shelf and what to expect. If your comp does that, it's effective.
A great comp title for my current WIP, in a world with no need for #OwnVoices, would be When Dimple Met Rishi (with magic). That world doesn't exist, and I'm not Indian (and my WIP doesn't have any main character from India).Would it be inappropriate to use that title?