Use the 'IgnoreMap' parameter when calling the 'pxComparePages' activity. Create a data transform which has the properties to be ignored and pass it as the value for 'IgnoreMap' parameter. Check 'pxComparePages' activity rule documentation for more information.
This is supposed to work. If it doesn't, a workaround would be to create a temporary Page C and copy the necessary properties to be compared on to Page C from Page A and then compare Page B and Page C, so that you eliminate the unnecessary properties.
Thanks for suggestion. When copy the Page A to Page C, how will u copy? Something like Page-Copy method will copy the sub page as well. So, same issue will be faced. It will also be difficult to copy all the properties one by one since there are many properties.
If the number of properties to be ignored are less, do a Page-Copy from Page A to Page C and remove the unnecessary properties using Property-Remove method with Page C as the step page. Then do a compare of Page B and Page C.