Grades or marks should be mentioned if they are decent—above average or good. There is no point in mentioning average or below-average grades; it is not necessary. However, if something specific is mentioned in the advertisement or job requirement, such as marks being above 55% in graduation, then it is necessary.
Hope this clarifies.
Regards