I think that this could be put above the code block, with an 'align: right'. Such kind of layout should be prefered, as it makes the document more compact vertically.