In some of the guides, one may come across instances where a note is placed immediately before or after a code block. Both elements are visually highlighted, which can be less aesthetically pleasing.
Those could be separated by at least one line of text, as suggested in the source taken from https://developers.google.com/style/notices.