Dwight Yoakam has a funny way of complimenting Taylor Swift ... 'cause even though country music icon did say Taylor's music qualifies as country -- he also kinda slammed the content of her songs. .
Yoakam was in a good mood when our photog spotted him at LAX yesterday ... and we hit him with the big Swift question: Is she a genuine country artist?
Dwight gave Taylor props, but when we asked him to name his favorite song by her ... he dropped a pretty funny diss -- in a charming country sorta way.
Watch. It's funny cause it's true.