The term dissonant here is used to describe the unpleasantness of the 7-chord and describing the 7-chord as the most dissonant chord in the major key means that the 7-chord is the most unpleasant chord in the major key.