Yes, they both means "include" even if "comprendere" also means "to understand", while "includere" only means "to include".
So, if you can use "includere" as "include" without problems, when you have to use "comprendere" you have to consider the context in which you are speaking or writing. Just the context can give you the right meaning :D