Comment trong dict như bình thường: chỉ dùng # single-line. Multiline comment (triple quotes) là string literal, không thể đặt giữa định nghĩa dict.
Hợp lệ
testItems = {
'TestOne': 'Hello',
# 'TestTwo': None,
}
Không hợp lệ
testItems = {
'TestOne': 'Hello',
"""
Some random
multiline comment
"""
}