To be exceedingly pedantic, I think GP is using the phrase “not to be pedantic” as a magical incantation intended to make the pedentry following it not pedantic, the same way people say “no offense” before saying something offensive, or “not financial advice” on YouTube videos that give financial advice.