SNP communications chief resigns over membership statements