Punctuation is a PART of grammar,
just as grammar is a part of language.
I'd like to think that they correspond to English writing, but are not necessarily the same thing; otherwise, what is the point in distinguishing grammar & punctuation in writing books?
You might as well just call it grammar; but if we do that, it would be more confusing.