If the spouse is inadmissible to Canada given criminality, etc., it may have an impact. Otherwise, if the primary applicant has a PR and is adding their spouse, this won't generally be an issue at all.
The main applicant cannot land (go to Canada) with the COPR not mentioning the marriage. If they do, they will never be allowed to sponsor.