check valid comment value