By definition, the vertices of a de Bruijn graph are all strings of length () over a fixed finite alphabet. The edges are all strings of length over the same alphabet. The directed edge joins vertex to vertex . A block code over an alphabet of elements is comma-free if it does not contain any overlap of codewords. Representing the codewords of comma-free codes as directed edges of the de Bruijn graph, we give sufficient conditions that a bipartite subgraph of the de Bruijn graph whose underlying undirected graph is connected is a comma-free code.