From the booklet of Rabbi David Shalom Naki, shlit"a: the Torah says, “Cursed is one who belittles his father or his mother.” (Devarim 27:16.) As Yoreh Deah and Sefer Charedim rule, this includes even a hint or a wink, and even belittling them in the heart alone.